﻿<PageHeader Class="site-page-header" Title="@_title" Subtitle="@("This is a subtitle")" />
<br />
<PageHeader Class="site-page-header" Title="@_title" Subtitle="@("Custom `OnBack` callback")" OnBack="@(()=> { Console.WriteLine("OnBack");})" />
<br />
<PageHeader Class="site-page-header" Title="@_title" Subtitle="@("Custom Icon")" BackIcon="@("backward")" />
<br />
<PageHeader Class="site-page-header" Title="@_title" Subtitle="@("Custom Icon and `OnBack` callback")" BackIcon="icon" OnBack="@(()=> { Console.WriteLine("OnBack");})" />
@code{
    private string _title = "Title";

    RenderFragment icon =@<Icon Type="backward" />;
}